using System;
using System.Xml.Serialization;
using System.Collections.Generic;

namespace Aop.Api.Domain
{
    /// <summary>
    /// ServicePropertyInfo Data Structure.
    /// </summary>
    [Serializable]
    public class ServicePropertyInfo : AopObject
    {
        /// <summary>
        /// 属性序号，从0开始
        /// </summary>
        [XmlElement("property_index")]
        public long PropertyIndex { get; set; }

        /// <summary>
        /// 服务的属性名
        /// </summary>
        [XmlElement("property_name")]
        public string PropertyName { get; set; }

        /// <summary>
        /// 属性值列表
        /// </summary>
        [XmlArray("property_value")]
        [XmlArrayItem("property_value")]
        public List<PropertyValue> PropertyValue { get; set; }
    }
}
